package com.lys.emsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyansheng
 * @since 2022-04-30
 */
@Getter
@Setter
@TableName("tb_job")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *  主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司
     */
    private String company;

    /**
     * 岗位
     */
    private String job;

    /**
     * 薪资
     */
    private BigDecimal salary;

    /**
     * 要求
     */
    private String claim;

    /**
     * 公司官网
     */
    private String website;

    /**
     * 投递邮箱
     */
    private String email;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private boolean status;

    /**
     * 发布人
     */
    private String publisher;

    /**
     * 发布时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 工作地址
     */
    private String address;



}
